{include file="public:header" /}
<style>
    .J_tabs li a{color:#666;}
</style>
<div class="subnav">
    <div class="content_menu ib_a blue line_x">
        <a href="{:url('add')}" {if condition="$info['event_type'] eq 2"}class="on"{/if}><em>关注回复</em></a><span>|</span>
        <a href="{:url('index',['e_type'=>3])}" {if condition="$info['event_type'] eq 3"}class="on"{/if}><em>菜单事件</em></a>
    </div>
</div>
<!--编辑文本回复-->
<form id="info_form" action="{:url('WeixinFllow/editDo')}" method="post" enctype="multipart/form-data">
    <div class="pad_lr_10">
        <div class="col_tab">
            <ul class="J_tabs tab_but cu_li">
                <li class="current">编辑文本回复</li>
                <li><a href="{:url('edit',['type'=>2,'e_type'=>$info['event_type'],'id'=>$info['id']])}">编辑图文回复</a></li>
                <li><a href="{:url('edit',['type'=>3,'e_type'=>$info['event_type'],'id'=>$info['id']])}">编辑多图文回复</a></li>
            </ul>
            <div class="J_panes">
                <div class="content_list pad_10">
                    <table width="100%" cellspacing="0" class="table_form">
                        <tr>
                            <th width="120">回复内容 :</th>
                            <td>
                                <textarea name="data" id="data" style="width:500px;height:50px;resize:none;">{if condition="$info['type'] eq 1"}{$info.data}{/if}</textarea>
                            </td>
                        </tr>

                    </table>
                </div>
                <input type="hidden" name="type" value="1">
                <input type="hidden" name="id" value="{$info.id}" >
            </div>
            <div class="mt10"><input type="submit" value="提交" id="dosubmit" name="" class="btn btn_submit" style="margin:0 0 10px 100px;"><br /><br /><br /></div>
        </div>
    </div>
</form>
{include file="public:footer" /}
<script>
    $(function() {
        $.formValidator.initConfig({formid:"info_form",autotip:true});
        $("#data").formValidator({onshow:'请填写回复内容',onfocus:'请填写回复内容'}).inputValidator({min:1,onerror:'请填写回复内容'}).defaultPassed();
        $("#keyword").formValidator({onshow:'请选择菜单',onfocus:'请选择菜单'}).inputValidator({min:0,onerror:'请选择菜单'}).defaultPassed();

    });
</script>
</body>
</html>